package com.itheima.dao;

import com.itheima.pojo.Member;
import org.apache.ibatis.annotations.Select;

public interface LoginDao {
    @Select("select * from t_member where phoneNumber = #{tel}")
    public Member selectByTel(String tel);

    //@Insert("insert into t_member(phoneNumber,regTime) values(#{phoneNumber},#{regTime})")
    void add(Member member);
}
